//
//  KinCalcReturnData.m
//  MacHeliosSim
//
//  Created by Paul Thompson on 9/4/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "KinCalcReturnData.h"


@implementation KinCalcReturnData
-(id)init
{
	energy = 0.0;
	labAngle = 0.0;
	cmAngle = 0.0;
	maxLabAngle = 0.0;
	velocity = 0.0;
	
	return self;
	
}

-(id)initWithKinData:(KinCalcReturnData *)theData
{
	energy = theData.energy;
	labAngle = theData.labAngle;
	cmAngle = theData.cmAngle;
	maxLabAngle = theData.maxLabAngle;
	return self;
	
}
-(float)labAngleInDegrees
{
	return (labAngle*180.0/pi);
}

-(float)maxLabAngleInDegrees
{
	return (maxLabAngle*180.0/pi);
}

-(float)cmAngleInDegrees
{
	return (cmAngle*180.0/pi);
}
@synthesize energy, cmAngle, labAngle, maxLabAngle, velocity;
@end
